package com.ruoyi.config;

import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

@Getter
@Setter
@Configuration
@ConfigurationProperties(prefix = "token")
public class TokenConfig {
    // 令牌自定义标识
    private String header;
    // 令牌秘钥
    private String secret;
    // 令牌有效期（默认30分钟）
    private Integer expireTime;
}